package com.witte.service;


import com.witte.entity.Customer;
import com.witte.entity.NewCustomer;

import java.util.List;

public interface NewService {

    List<NewCustomer> selectAll();

    List<NewCustomer> selectTime();

    int updateByChanceNo(NewCustomer newCustomer);

    int getRecodeCount();

    int updateByPrimaryKeySelective(NewCustomer newCustomer);

    int insert(NewCustomer newCustomer);

    public List<NewCustomer> getPage(Integer beginPage, Integer pageSize);

    int deleteByPrimaryKey(Integer customerno);

    public List<NewCustomer> getNameList(String name,Integer beginPage,Integer pageSize);

    public int getNameCount(String name);
}
